public enum AccessMode {
    Read("r"),
    ReadWrite("rw");

    private String mode;

    private AccessMode(String mode) {
        this.mode = mode;
    }

    public String getMode() {
        return mode;
    }
}
